package com.ivi.car.module.carstate.model;

import com.ivi.car.base.IBaseView;
import com.ivi.car.bean.carstate.FaultDetial;
import com.ivi.car.bean.carstate.PressureDetial;

import java.util.ArrayList;

/**
 * Copyright
 * author chengxp
 * date 2018/3/8
 * describe 故障提醒合约类
 * history
 */

public interface IFaultDetialContract {
    interface View extends IBaseView {
        /**
         * 展示汽车胎压信息
         *
         * @param detial PressrueDetial
         */
        void showPressureDetial(PressureDetial detial);

        /**
         * 展示故障列表
         *
         * @param list FaultDetial 列表
         */
        void showFaultList(ArrayList<FaultDetial> list);
    }

    interface Presenter {
        /**
         * 展示胎压数据
         */
        void showPressureDetial();

        /**
         * 展示故障列表
         */
        void showFaultList();
    }

}
